﻿'use strict'

var app = angular.module('BlogApp', ['ngRoute']);

app.controller('BlogCreateController', ['$scope', 'BlogServices', function ($scope, BlogServices) {

    $scope.postBlog = function (blogTitle, blogContent) {
        BlogServices.postBlog(blogTitle, blogContent);
    };

}])